package com.xpt.service.prop;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * 配置文件读取
 * @author zcc
 *
 * @date 2018年3月6日
 */

@Component
public class CommonProperties {

	@Value("${weixin.pay.key}")
	private String appKey;
	
	@Value("${weixin.pay.value}")
	private String appValue;

	@Value("${xpt.age.one}")
	private String ageOne;
	
	@Value("${xpt.age.two}")
	private Integer ageTwo;
	
	@Value("${xpt.age.three}")
	private Integer ageThree;
	
	@Value("${xpt.age.four}")
	private Integer ageFour; 
	
	public String getAgeOne() {
		return ageOne;
	}

	public void setAgeOne(String ageOne) {
		this.ageOne = ageOne;
	}

	public Integer getAgeTwo() {
		return ageTwo;
	}

	public void setAgeTwo(Integer ageTwo) {
		this.ageTwo = ageTwo;
	}

	public Integer getAgeThree() {
		return ageThree;
	}

	public void setAgeThree(Integer ageThree) {
		this.ageThree = ageThree;
	}

	public Integer getAgeFour() {
		return ageFour;
	}

	public void setAgeFour(Integer ageFour) {
		this.ageFour = ageFour;
	}

	public String getAppKey() {
		return appKey;
	}

	public void setAppKey(String appKey) {
		this.appKey = appKey;
	}

	public String getAppValue() {
		return appValue;
	}

	public void setAppValue(String appValue) {
		this.appValue = appValue;
	}
	
}
